package com.fyales.android.api.service;

import com.fyales.android.api.model.Data;
import com.fyales.android.api.response.HttpResponse;

import retrofit.Call;
import retrofit.http.GET;
import retrofit.http.Query;

/**
 * @author fyales
 * @since 15/11/9.
 */
public interface CommonService {

    @GET("/joke/content/list.from")
    Call<HttpResponse<Data>> getJokes(@Query("sort") String sort,
                                      @Query("page") int page,
                                      @Query("pagesize") int pageSize,
                                      @Query("time") String time);

}
